<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class file</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class file</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">index.php     ZCMS 文件操作类</p>
	<ul class="tags">
				<li><span class="field">author:</span> zhuayi</li>
				<li><span class="field">copyright:</span> (C) 2005 - 2010  ZCMS</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_class---file.class.php.html">/class/file.class.php</a> (line <span class="field">11</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																						
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#down_file" title="details" class="method-name">down_file</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$folder</span> = <span class="var-default">&quot;./&quot;</span>])
									</div>
														
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#handie" title="details" class="method-name">handie</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$filepath</span>)
									</div>
														
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#write" title="details" class="method-name">write</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$file</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$conent</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">&quot;w&quot;</span>])
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methoddown_file" id="down_file"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">down_file</span> (line <span class="line-number">69</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">远程下载文件</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			down_file
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$folder</span> = <span class="var-default">&quot;./&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: 远程地址</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$folder</span><span class="var-description">: 下载路径</span>			</li>
				</ul>
		
			
	</div>
<a name="methodhandie" id="handie"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">handie</span> (line <span class="line-number">18</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">遍历文件夹</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			handie
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$filepath</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$filepath</span><span class="var-description">: 文件夹路径</span>			</li>
				</ul>
		
			
	</div>
<a name="methodwrite" id="write"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">write</span> (line <span class="line-number">46</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">写入文件</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			write
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$file</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$conent</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$w</span> = <span class="var-default">&quot;w&quot;</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$file</span><span class="var-description">: 文件路径</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$conent</span><span class="var-description">: 文件内容</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$w</span><span class="var-description">: 写入   &quot;r&quot;        只读方式打开，将文件指针指向文件头。</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Mon, 11 Apr 2011 09:23:48 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>